package com.jianzhangg.springboot2.util;

import redis.clients.jedis.Jedis;

/**
 * @author: jian.zhangg
 * @date: 2018/12/10 16:21
 * @version: V1.0
 * @Description: TODO
 */
public class JedisUtils {

    public static void main(String[] args) {
        Jedis jedis = new Jedis("118.31.77.175");
        jedis.set("foo", "bar");
        String value = jedis.get("foo");
        System.out.println("value=" + value);
    }

}
